package com.recipedb.recipedb.entity;

import jakarta.persistence.*;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@Entity
@Table(name = "recipe_category")
@IdClass(RecipeCategoryId.class)
public class RecipeCategory {

    @Id
    private Long recipeId;

    @Id
    private Long categoryId;
}